<template>
	<view class="pr pb80">
		<view class="header-bar"></view>
		<view class="">
			<image src="../../../static/img/index/zhaoshang3.png" mode="widthFix" class="w-max"></image>
		</view>
		<view class="btnbox" @tap="$jump('/pages/home/attractInvestment/freeQuestion/freeQuestion')">
			免费预约咨询
		</view>
		<view class="">
			<image src="../../../static/img/index/zhaoshang4.png" mode="widthFix" class="w-max"></image>
		</view>
		<view class="btnbox" @tap="$jump('/pages/home/attractInvestment/freeQuestion/freeQuestion')">
			免费预约咨询
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				form: {
					enterprise_name: '', //企业名称
					name: '', //姓名
					iphone: '', //手机号
					emall: '', //邮箱
					address: '', //详细地址
					remark: '', //备注
				}
			};
		},
		methods: {
			submit() {
				// this.form.forEach(item => {
				// 	if (item) {

				// 	}
				// })
				// if(this.form.){

				// }
				this.$api.attract(this.form).then(res => {
					this.$msg(res.msg)
					setTimeout(() => {
						uni.navigateBack()
					}, 1000)
				})
			}
		}
	}
</script>

<style lang="scss">
	// page {
	// 	height: auto;
	// }
	.btnbox {
		width: 420rpx;
		height: 90rpx;
		background: #2AACA7;
		margin: 80rpx auto;
		font-size: 32rpx;
		color: #FFFFFF;
		line-height: 90rpx;
		text-align: center;
	}

</style>
